#include "entitycomponent.h"

EntityComponent::EntityComponent()
	:mEntity()
{

}

EntityComponent::~EntityComponent()
{
}

void EntityComponent::onAdd(Entity *entity)
{
	mEntity = entity;
}

void EntityComponent::onRemove()
{
	mEntity = 0;
}